package com.sl.spring.intergration.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class TestTask {

	//@Scheduled(fixedRate = 3000)
	//@Scheduled(cron="0/1 * * * * ? ") //也可以用cron
	public void test(){
		System.out.println("shulihahha");
	}
}
